package tech.bmatch.meituan.model;

import java.util.List;

/**
 * @program: S1P1FinalProject
 * @description: 商家
 * @author: Awake
 * @create: 2018-10-09 21:18
 **/
public class Merchant {
    private String id;
    private String name;
    private List<Dish> dishes;

    private String address;
    private double lon;
    private double lat;
    private double distance;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List<Dish> getDishes() {
        return dishes;
    }

    public void setDishes(List<Dish> dishes) {
        this.dishes = dishes;
    }

    public double getDistance() {
        return distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getLon() {
        return lon;
    }

    public void setLon(double lon) {
        this.lon = lon;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    @Override
    public String toString() {
        return "Merchant{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", dishes=" + dishes +
                ", address='" + address + '\'' +
                ", lon=" + lon +
                ", lat=" + lat +
                ", distance=" + distance +
                '}';
    }
}
